function tline = cfdReadSlvParaComments(fileID, varargin)
%--------------------------------------------------------------------------
%  Written by LiuHaHa @ NWPU, 2022 01 
%  Contact me at: liuzhikan@mail.nwpu.edu.cn
%==========================================================================
% Routine Description:
%   This function read slvpara file lines in a fileID
%--------------------------------------------------------------------------

if isempty(varargin)
    tline = fgetl(fileID);
else
    tline = varargin{1};
end

trimmedTline = strtrim(tline);

if strcmp(trimmedTline(1:2), '/*')        
    while ~cfdContains(tline, '*/')
        tline = fgetl(fileID);
    end   
    while true
        tline = fgetl(fileID);
        if ~isempty(tline)
            break;
        end
    end
end